package com.hyl.domain.order.service;

import com.alipay.api.AlipayApiException;
import com.hyl.domain.order.model.entity.PayOrderEntity;
import com.hyl.domain.order.model.entity.ShopCartEntity;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author hyl
 * @description
 * @create 2025-06-12 15:13
 */
@Service
public interface IOrderService {


    PayOrderEntity creatOrder(ShopCartEntity shopCartEntity) throws AlipayApiException;//下单

    void changeOrderPaySuccess(String orderId);

    List<String> queryNoPayNotifyOrder();

    List<String> queryTimeoutCloseOrderList();

    boolean changeOrderClose(String orderId);
}
